/**
 * 
 */
package cn.com.wms.service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.springframework.ui.ModelMap;


import cn.com.wms.model.UUser;
import cn.com.wms.model.Usertest;





/**
 *test
 */
public interface UserService {

	int deleteByPrimaryKey(Long id);

	UUser insert(UUser record);

    UUser insertSelective(UUser record);

    UUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UUser record);

    int updateByPrimaryKey(UUser record);
    
    UUser login(String email ,String pswd);

	UUser findUserByEmail(String email);

	Map<String, Object> deleteUserById(String ids);

	Map<String, Object> updateForbidUserById(Long id, Long status);

	Map<String, Object> addRole2User(Long userId, String ids);

	Map<String, Object> deleteRoleByUserIds(String userIds);
}
